<%@ page language="java" import="java.util.*" pageEncoding="GB18030"%>
<%@page import="com.bjsxt.shopping.util.User"%>
<%
	request.setCharacterEncoding("GB18030");
    String strId=request.getParameter("id");
boolean userName=User.userExists(strId);
    //System.out.println(strId);
  	//System.out.println(userName);
	response.setContentType("text/xml");
	response.setHeader("Pragma","no-cache");//HTTP  1.0
	response.setHeader("Cache-Control","no-store");//HTTP 1.1
	response.setDateHeader("Expires",0);//
	if(userName == true){
	response.getWriter().write("<msg>invalid</msg>");
	}else
	response.getWriter().write("<msg>valid</msg>");
%>